From: Richard M. Stallman Date: Tue, 27 Jul 1993 22:49:05 +0000 (+0000) Subject: (command_loop_1): Call Qrecompute_lucid_menubar only if defined. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~94745 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=a646e5200b910a40893ce7eba3784f4f7aae3444;p=emacs.git (command_loop_1): Call Qrecompute_lucid_menubar only if defined. --- diff --git a/src/keyboard.c b/src/keyboard.c index fc1ac681f16..5714ec6ac13 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -961,7 +961,8 @@ command_loop_1 () #endif /* If it has changed current-menubar from previous value, really recompute the menubar from the value. */ - if (! NILP (Vlucid_menu_bar_dirty_flag)) + if (! NILP (Vlucid_menu_bar_dirty_flag) + && !NILP (Ffboundp (Qrecompute_lucid_menubar))) call0 (Qrecompute_lucid_menubar); #if 0 /* This is done in xdisp.c now. */